<div class="midder">
<div class="mc">

<!--目录导航-->
<?php $this->widget('bootstrap.widgets.BootBreadcrumbs', array(
    'links'=>array('注册'),
)); ?>

<h1>用户注册</h1>

<p class="note">符号 <span class="required">*</span> 为必填项</p>

<?php /** @var BootActiveForm $form */
$form = $this->beginWidget('bootstrap.widgets.BootActiveForm', array(
    'id'=>'verticalForm',
	'enableAjaxValidation'=>true,
    'htmlOptions'=>array('class'=>'well'),
)); ?>


<?php echo $form->errorSummary($model); ?>
	
<?php echo $form->textFieldRow($model, 'username', array('class'=>'span3')); ?>
	
<?php echo $form->passwordFieldRow($model, 'password', array('class'=>'span3')); ?>
	
<?php echo $form->passwordFieldRow($model, 'repassword', array('class'=>'span3')); ?>
	
<?php echo $form->textFieldRow($model, 'email', array('class'=>'span3')); ?>
	
	
<?php if(CCaptcha::checkRequirements()): ?>
	<?php echo $form->labelEx($model,'验证码'); ?>
	<div>
	<?php $this->widget('CCaptcha'); ?>
	<?php echo $form->textField($model,'verifyCode'); ?>
	</div>
	<div class="hint">请输入在上图中显示的字母。
	<br/>字母不区分大小写</div>
	<?php echo $form->error($model,'verifyCode'); ?>
<?php endif; ?>
	

<div class="form-actions">
    <?php echo CHtml::htmlButton('<i class="icon-ok icon-white"></i> 注册', array('class'=>'btn btn-primary', 'type'=>'submit')); ?>
    <?php echo CHtml::htmlButton('<i class="icon-ban-circle"></i> 重设', array('class'=>'btn', 'type'=>'reset')); ?>
</div>

<?php $this->endWidget(); ?>


</div>
</div>